﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using CodeStudy.WCF.Models;

namespace CodeStudy.WCF.Service
{

    /// <summary>
    /// My Service Class
    /// </summary>
    public class MyService : IMyService
    {
        /// <summary>
        /// Gets the glorify.
        /// </summary>
        /// <param name="request">The request.</param>
        /// <returns>response</returns>
        public GetGlorifyResponse GetGlorify(GetGlorifyRequest request)
        {
            GetGlorifyResponse response = new GetGlorifyResponse();
            response.Glorify = string.Format("{0} is our champion!", request.ChampionName);
            return response;
        }
    }

}
